<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
        div {
            color: red;
        }
        /* 如果出现了冲突，就以最后的样式为主 */
        div {
            color: blue;
            font-size: 22px;
        }
    </style>
</head>

<body>
    <div>层叠样式表</div>
</body>

</html>